﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Contact.aspx.cs" Inherits="Contact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="oncenter">
<asp:Panel ID="Panel1" runat="server" DefaultButton="btnSubmit">
    <h2 style="font-size: 16px; color: #3f3f3f;">Испратете е-маил до администраторот ! </h2>
        <br />
    
       <h3 style="font-size: 12px; color: #3f3f3f; margin-bottom:-10px"> Вашето име:</h3>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ErrorMessage="*"
            ControlToValidate="YourName" ValidationGroup="save" /><br />
        <asp:TextBox ID="YourName" runat="server" Width="350px" /><br />
        <h3 style="font-size: 12px; color: #3f3f3f; margin-bottom:-10px"">Вашата е-маил адреса:</h3>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
            ControlToValidate="YourEmail" ValidationGroup="save" /><br />
        <asp:TextBox ID="YourEmail" runat="server" Width="350px" />
        <asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator23"
            SetFocusOnError="true" ControlToValidate="YourEmail"
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"
            ValidationGroup="save" /><br />
       <h3 style="font-size: 12px; color: #3f3f3f; margin-bottom:-10px""> Наслов:</h3>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
            ControlToValidate="YourSubject" ValidationGroup="save" /><br />
        <asp:TextBox ID="YourSubject" runat="server" Width="350px" /><br />
       <h3 style="font-size: 12px; color: #3f3f3f; margin-bottom:-10px""> Вашата порака:<//h3>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
            ControlToValidate="Comments" ValidationGroup="save" /><br />
        <asp:TextBox ID="Comments" runat="server" 
                TextMode="MultiLine" Rows="10" Width="350px" />
    
    <p>
        <asp:Button ID="btnSubmit" runat="server" Text="Испрати" 
                    OnClick="btnSubmit_Click" ValidationGroup="save" />
                    &nbsp;<asp:Button ID="btnReset" runat="server" Text="Ресетирај" 
            ValidationGroup="res" onclick="btnReset_Click" />
    </p>
</asp:Panel>
<br />
<p>
    <asp:Label ID="DisplayMessage" runat="server" Visible="false" />
</p>  
</div>

</asp:Content>

